package model

import "time"

type Student struct {
	ID                    uint   `gorm:"primaryKey"`
	Name                  string `gorm:"size:50;not null"`
	Sex                   string `gorm:"size:10;not null"`
	Region                string `gorm:"size:100;not null"`
	YearOfCollegeEntrance string `gorm:"size:4;not null"`
	MiddleSchool          string `gorm:"size:100"`
	PhoneNumber           string `gorm:"size:20"`
	Reporter              string `gorm:"size:50"`
	Department            string `gorm:"size:50"`
	ReporterPhoneNumber   string `gorm:"size:20"`
	Note                  string `gorm:"size:500"`
	AcademicIntention     string `gorm:"size:50"`
	TeacherPhoneNumber    string `gorm:"size:20"`
	StudentType           string `gorm:"size:20;not null"`
	SchoolIntention       string `gorm:"size:100"`
	MajorIntention        string `gorm:"size:100"`
	IDNumber              string `gorm:"size:18"`
	ExpectedScore         int    `gorm:"default:0"`
	ReporterID            uint   `gorm:"default:0"`
	Dirty                 int    `gorm:"default:0"`
	SubmitTime            time.Time
}
